package shop.ynubeggar.service;

import shop.ynubeggar.model.valueobject.UserVO;
import shop.ynubeggar.request.LoginRequest;
import shop.ynubeggar.request.RegisterRequest;
import shop.ynubeggar.request.UpdateUserInfoRequest;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    UserVO findUserDetail();

    void userRegister(String captchaKey, RegisterRequest registerRequest);

    String userLogin(LoginRequest loginRequest, HttpServletRequest httpRequest);

    void updateUserDetail(UpdateUserInfoRequest updateUserInfoRequest);

    void addPoints(Integer amount);
}
